package com.bort.system.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bort.system.model.Role;

import java.util.List;

public interface RoleService extends IService<Role> {
    List<Role> selectAll(String name);

    void add(Role role);

    void saveRoleMenus(JSONObject params);

    void delete(Integer id);
}
